package com.xoa.service.financialManage;

import com.xoa.model.financialManage.IncomeExpensePlanType;
import com.xoa.util.ToJson;

import javax.servlet.http.HttpServletRequest;


public interface IncomeExpensePlanTypeService {

    //查询计划类别列表
    ToJson fundIncome(HttpServletRequest request,IncomeExpensePlanType income);

    //根据计划类别ID查询
    ToJson findIncomTypeById(HttpServletRequest request, IncomeExpensePlanType incomeExpensePlanTypeExample);

    //计划类别新增和修改
    ToJson saveIncomType(HttpServletRequest request, IncomeExpensePlanType incomeExpensePlanType);

    //删除计划类别
    ToJson deleteIncomType(HttpServletRequest request, IncomeExpensePlanType incomeExpensePlanType);

    ToJson IncomCount(HttpServletRequest request,String year,String month,String quarter,String planId);
//年收支统计
    ToJson incomYearCount(HttpServletRequest request);

}
